package model;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * student entity. @author MyEclipse Persistence Tools
 */

public class student  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String password;
     private Integer sex;
     private String clazz;
     private String birthday;
     private Set scores = new HashSet(0);


    // Constructors

    /** default constructor */
    public student() {
    }

    
    /** full constructor */
    public student(String name, String password, Integer sex, String clazz, String birthday, Set scores) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.clazz = clazz;
        this.birthday = birthday;
        this.scores = scores;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSex() {
        return this.sex;
    }
    
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getClazz() {
        return this.clazz;
    }
    
    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Set getScores() {
        return this.scores;
    }
    
    public void setScores(Set scores) {
        this.scores = scores;
    }
   








}